package zhku.zjfw.antiFack.db;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteDatabase.CursorFactory;
import android.database.sqlite.SQLiteOpenHelper;

public class DBOpen extends SQLiteOpenHelper {
	private static final  String DBName = "kaoqin2.db";
	private static int DB_Version = 2;
	
	public DBOpen(Context context) {
		super(context, DBName, null, DB_Version);
	}

	@Override
	public void onCreate(SQLiteDatabase db) {
	
	}
	

	@Override
	public void onUpgrade(SQLiteDatabase db, int arg1, int arg2) {

		db.execSQL("DROP TABLE IF EXISTS "+DBName);
	}

}
